package edu.gdkm.pojo;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class UserSubscription {
    private Integer subscriptionId;
    private Integer userId;
    private Integer planId;
    private LocalDateTime startDate;
    private LocalDateTime endDate;
    private String status;
    private String paymentMethod;
    private LocalDateTime lastPaymentDate;
    private LocalDateTime nextPaymentDate;
    
    // 非数据库字段，用于关联查询
    private SubscriptionPlan plan;
}
